package com.cyou.nad.datastore;

/**
 * 与数据库打交道的时候使用到的 header 
 * 相对多了一个字段 colDBName， 这个指的是sql 中col name
 * @author lzm 
 */
public class DBHeader extends Header {
	/**
	 * 
	 */
	private static final long serialVersionUID = 4631622442769997401L;
	/**
	 * sql 中col name
	 */
	private String colDBName;

	public DBHeader() {
		super();
	}

	public DBHeader(String lable, ColType colType) {
		super(lable, colType);
	}

	public DBHeader(String lable, String colDBName, ColType colType) {
		super(lable, colType);
		this.colDBName = colDBName;
	}

	/**
	 * sql 中col name
	 * @return
	 */
	public String getColDBName() {
		return colDBName;
	}

	/**
	 * sql 中col name
	 * @param colDBName
	 */
	public void setColDBName(String colDBName) {
		this.colDBName = colDBName;
	}

}
